package edu.hwadee.entity;

import java.sql.Timestamp;

/**
 * Advertisement entity. @author MyEclipse Persistence Tools
 */

public class Advertisement implements java.io.Serializable {

	// Fields

	private Integer advertisementId;
	private Timestamp createTime;
	private Timestamp updateTime;
	private String name;
	private String detail;
	private String type;

	// Constructors

	/** default constructor */
	public Advertisement() {
	}

	/** full constructor */
	public Advertisement(Timestamp createTime, Timestamp updateTime, String name, String detail, String type) {
		this.createTime = createTime;
		this.updateTime = updateTime;
		this.name = name;
		this.detail = detail;
		this.type = type;
	}

	// Property accessors

	public Integer getAdvertisementId() {
		return this.advertisementId;
	}

	public void setAdvertisementId(Integer advertisementId) {
		this.advertisementId = advertisementId;
	}

	public Timestamp getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	public Timestamp getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Timestamp updateTime) {
		this.updateTime = updateTime;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDetail() {
		return this.detail;
	}

	public void setDetail(String detail) {
		this.detail = detail;
	}

	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}

}